package com.example.combinedannotation.annotation;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import java.lang.annotation.*;

/**
 * @description 自定义组合注解
 * @author ljw
 * @date 2021/8/12 7:42
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Configuration //组合的元注解
@ComponentScan //组合的元注解
public @interface CustomAnno {

    //覆盖元注解的 value 参数
    String[] value() default {};
}
